package Compilador2014;

public class Error {
	private int linea;
	private int columna;
	private String error;
	
	public Error (int linea, int columna, String error) {
		this.linea = linea;
		this.columna = columna;
		this.error = error;
	}

	public int getLinea() {
		return linea;
	}

	public void setLinea(int linea) {
		this.linea = linea;
	}

	public int getColumna() {
		return columna;
	}

	public void setColumna(int columna) {
		this.columna = columna;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}
	
	public String toString () {
		String cadena;
		
		cadena = "\nLinea: "+linea+" - Columna: "+columna+" => Error: "+error;		
		return cadena;
	}
} 
